#include <string>
#include <vector>
#include <iostream>
#include <boost/foreach.hpp>

#define foreach BOOST_FOREACH

int main()
{
   std::string hello("Hello, world!");

   BOOST_FOREACH(char &ch, hello)
   {
      std::cout << ch;
      ch += 5;
   }
   std::cout<<std::endl;
   std::cout<<hello<<std::endl;

   BOOST_REVERSE_FOREACH(char ch, hello)
   {
      std::cout << ch;
   }
   std::cout<<std::endl;

   return 0;
}
